package com.hiof.moraa.server.service.model;

public class HotSpotInfoPacket {

    private double distance;
    private double predictedTime;

    public HotSpotInfoPacket() {
    }

    public HotSpotInfoPacket(double distance, double predictedTime) {
        this.distance = distance;
        this.predictedTime = predictedTime;
    }

    public double getDistance() {
        return this.distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    public double getPredictedTime() {
        return this.predictedTime;
    }

    public void setPredictedTime(double predictedTime) {
        this.predictedTime = predictedTime;
    }

    public String getMessage() {
        //take care about the blank space characters
        return "You need to complete "
                + distance + " meters to reach the nearest target"
                + " and with your speed you will finish that in "
                + predictedTime + " minutes";
    }
}
